#include <QtGui>
#include <QGraphicsEllipseItem>

#include "circle.h"

void Circle::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
    setPainter(painter);
    painter->drawEllipse(-radius, -radius, 2*radius, 2*radius);
}

QString Circle::toString()
{
    return "circle";
}
